﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace ConsoleApp1.Models.DB {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_Distance", DisableSyncStructure = true)]
	public partial class TDistance {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty]
		public int? AngelXY { get; set; }

		[JsonProperty]
		public int? AngelXZ { get; set; }

		[JsonProperty]
		public int? AngelYZ { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		[JsonProperty]
		public int? DistanceX { get; set; }

		[JsonProperty]
		public int? DistanceY { get; set; }

		[JsonProperty]
		public int? DistanceZ { get; set; }

		[JsonProperty]
		public int? PowerX { get; set; }

		[JsonProperty]
		public int? PowerY { get; set; }

		[JsonProperty]
		public int? PowerZ { get; set; }

		[JsonProperty]
		public int? Temp { get; set; }

		[JsonProperty, Column(StringLength = -2, IsNullable = false)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

	}

}
